let isDev = process.env.NODE_ENV === 'development'

let domain = ''

let apiHost = isDev ? 'http://127.0.0.1:8103' : domain + '/api'

/**
 * 通用型配置设置
 */
const profile = {
  isDev: isDev,//是否开发环境
  domain: domain,//生产环境的域名
  apiHost: apiHost,//调用api的前缀
  uploadImgAction: apiHost + '/upload/img',//上传图片的接口
  cdnDomain: isDev ? '' : ''//cdn链接配置
}

export {profile}

export default {}
